home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
015a
/
ezfkey.zip
/
MOVE.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-10-17
|
750b
|
40 lines
@echo off
cls
rem c:\dos\move.bat - copies a file from
rem one directory to another and then
rem erases the file from the original
rem
IF %2. == . GOTO INCOMPLETE
echo.
echo.
echo.
echo %1 IS BEING COPIED TO %2
echo.
echo.
echo.
echo %1 WILL BE DELETED FROM THE CURRENT DIRECTORY
echo.
echo.
echo.
echo.
XCOPY %1 %2
echo.
echo.
echo.
echo.
IF ERRORLEVEL 1 GOTO ERROR
DEL %1
GOTO END
:INCOMPLETE
echo YOU MUST SPECIFY THE DESTINATION PATH
echo.
echo SUCH AS: move filename c:\dos
echo.
:ERROR
echo SOMETHING'S WRONG, ABORTING MOVE
:END
echo.
echo.
echo.
echo.